package com.matt.foundation.vo;

import lombok.Data;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2018/7/27
 * *******************************
 */
@Data
public class ContractStatusVo {
    private boolean hasContract;
    private boolean nurseryContractEnd;
    private boolean earlyContractEnd;
    public static ContractStatusVo of(boolean hasContract, boolean nurseryContractEnd, boolean earlyContractEnd){
        ContractStatusVo vo = new ContractStatusVo();
        vo.setHasContract(hasContract);
        vo.setNurseryContractEnd(nurseryContractEnd);
        vo.setEarlyContractEnd(earlyContractEnd);
        return vo;
    }
}
